<div id="box-station">
    <form method='post'>
        <?php
            if ($filters == 'show') {
                $hasStation = array();
                foreach ($stations as $station) {
                    $k = $station['Station']['acronym'];
                    $v = $station['Station']['name'];
                    $hasStation[$k] = $v;
                }
                $selectStation = '';
                echo $this->Form->input('selectStation', array('label'=> 'Escolha a Estação mais próxima: <br>','id'=>'selectStation','name'=>'Station', 'required'=>'required','empty' => 'Selecione', 'onchange' => 'this.form.submit()', 'options' => $hasStation));
                
                }

                ?>
    </form>
</div>